package cn.sjx.graduate.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author: bo-feifei
 * @Date 2022/5/29 22:57
 * @Version 1.0
 */
@Data
public class StaffVO {
    @ApiModelProperty(value = "教师编号")
    private Long id;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "职工类别 1:初级员工 2:中级员工 3:高级员工")
    private Integer type;

    private String staffTypeName;

    @ApiModelProperty(value = "employee对应的id 员工id")
    private Long employeeId;

    private Integer dept;

    private String deptName;

    @ApiModelProperty(value = "请假时长")
    private Integer leaveHours;

    @ApiModelProperty(value = "月基本工作量")
    private String basicWorkload;

    @ApiModelProperty(value = "加班时长（双倍工资）")
    private Integer overTime;

    @ApiModelProperty(value = "最近一次发工资时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date payoffTime;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getStaffTypeName() {
        return staffTypeName;
    }

    public void setStaffTypeName(String staffTypeName) {
        this.staffTypeName = staffTypeName;
    }

    public Long getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Long employeeId) {
        this.employeeId = employeeId;
    }

    public Integer getDept() {
        return dept;
    }

    public void setDept(Integer dept) {
        this.dept = dept;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Integer getLeaveHours() {
        return leaveHours;
    }

    public void setLeaveHours(Integer leaveHours) {
        this.leaveHours = leaveHours;
    }

    public String getBasicWorkload() {
        return basicWorkload;
    }

    public void setBasicWorkload(String basicWorkload) {
        this.basicWorkload = basicWorkload;
    }

    public Integer getOverTime() {
        return overTime;
    }

    public void setOverTime(Integer overTime) {
        this.overTime = overTime;
    }

    public Date getPayoffTime() {
        return payoffTime;
    }

    public void setPayoffTime(Date payoffTime) {
        this.payoffTime = payoffTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
